
//***********************************************
//
//      Filename: PairOfDice.java
//
//        Author: wwb
//        Mails: 1274860621@qq.com
//        Create: 2018-03-31 23:19:35
// Last Modified: 2018-03-31 23:19:35
//***********************************************
  public class PairOfDice
{
  private die die1;
  private die die2;
public PairOfDice(die die1, die die2)
{
    die1 = d1;
    die2 = d2;
}
public die getDie1(){
return die1;}
public void setDie1(die die1){
die1 = d1;}
public die getDie2(){
return die2;}
public void setDie(die die2){
die2 = d2;}
public void rollingdice(){
die1.setFacevalue(die1.roll());

